<template>
  <el-card class="box-card">
    <div slot="header" class="clearfix">
      <shopee-table class=ExecuteLogData stripe :data="stepExecuteLogData" >
        <shopee-table-column prop="log" label="LOG" fixed="left">
        </shopee-table-column>
      </shopee-table>
    </div>
  </el-card>
</template>

  <script>
    import {api, getRequest, postRequest} from "@/api/commit";
    export default {
      name : "ExecuteLogView",
      data() {
        return {
          stepExecuteLogData: [],
        }
      },
      methods: {
        init_data() {
          let params ={
            "execute_record_id": this.$route.query.id
          }
          getRequest(api['step_execute_record_log'],params).then((res) => {
            res = res.resultReturn
            this.stepExecuteLogData= res.data
          }, (error) => {
            console.info(error)
          })
        }
      },
      created () {
        this.init_data()
      }
    }
  </script>
